#pragma once
#include<iostream>
using namespace std;

class Basic
{
public:
	int m_num1;
	int m_num2;
public:
	virtual int getResult()
	{
		return -1;
	}
private:

};

class AddCalculator : public Basic
{
public:
	int getResult()
	{
		return m_num1 + m_num2;
	}
private:
};

class SubCalculator : public Basic
{
public:
	int getResult()
	{
		return m_num1 - m_num2;
	}
private:
};

class MulCalculator : public Basic
{
public:
	int getResult()
	{
		return m_num1 * m_num2;
	}
private:
};
